<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="mi"></div>
    <div class="tmao"></div>
    <style>
        div{
            width: 200px;
            height: 200px;
            background-color: rgb(157, 207, 248);
            margin-top: 10px;
        }

        .mi{
            transition:all 1s linear;
        }
        .mi:hover{
            box-shadow:10px 10px 5px #888;
            background-color: aquamarine;
        }

        .tmao{
            transition: all 0.5s linear;
        }

        .tmao:hover{
            border: 1px red solid;
            opacity: 0.4;
            background-image:url(./奶龙.jpg);
        }
    </style>
</body>
</html>